Crate provwasm_mocks

source ·

Structs

Functions

  • A drop-in replacement for cosmwasm_std::testing::mock_dependencies that uses the mock provenance querier.
  • Initializes the mock querier with the account balances provided. NOTE: contract balance must be set in the balances slice passed if required.
  • A helper function for mock testing. This function allows tests to read a file in CosmWasm binary format. This function will panic on any error. Because of this, it should only be used in tests.